package com.topc.others.utils;

public class EncryptUtils {
    public static String encryptName(String name) {
        if (name == null || name.length() == 0) {
            return "";
        }
        if (name.length() == 1) {
            return name;
        }
        return name.charAt(0) + name.length() - 1 + "*";
    }
}
